{{- if .Values.operatorTrivy.linkCVEtoBDU }}
---
apiVersion: v1
kind: Secret
metadata:
  name: report-updater-webhook-ssl
  namespace: d8-{{ .Chart.Name }}
  {{- include "helm_lib_module_labels" (list . (dict "app" "report-updater")) | nindent 2 }}
type: kubernetes.io/tls
data:
  ca.crt: {{ .Values.operatorTrivy.internal.reportUpdater.webhookCertificate.ca | b64enc }}
  tls.crt: {{ .Values.operatorTrivy.internal.reportUpdater.webhookCertificate.crt | b64enc }}
  tls.key: {{ .Values.operatorTrivy.internal.reportUpdater.webhookCertificate.key | b64enc }}
{{- end }}
